//
//  OrderInfomationDetailModel.h
//  GLGW_Shoping
//
//  Created by whx on 2018/12/25.
//  Copyright © 2018年 yang. All rights reserved.
//

#import <Foundation/Foundation.h>
@class OrderInfomationDetailDataModel, OrderInfomationDetailDataReceiverInfoModel, OrderInfomationDetailDataInfoModel;

@interface OrderInfomationDetailModel : NSObject
@property (nonatomic, assign) NSInteger code;
@property (nonatomic, copy) NSString *message;
@property (nonatomic, strong) OrderInfomationDetailDataModel *data;

@end

@interface OrderInfomationDetailDataModel : NSObject
// 发送信息:发货和车牌号等信息
@property (nonatomic, copy) NSString *deliverInfo;
// 收获信息
@property (nonatomic, strong) OrderInfomationDetailDataReceiverInfoModel *receiverInfo;
@property (nonatomic, strong) OrderInfomationDetailDataInfoModel *info;
// 支付信息
@property (nonatomic, copy) NSString *payInfo;

@end

@interface OrderInfomationDetailDataReceiverInfoModel : NSObject
// 仓库名称
@property (nonatomic, copy) NSString *warehouseName;
@property (nonatomic, copy) NSString *address;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, copy) NSString *userId;
// 收货人
@property (nonatomic, copy) NSString *consignee;

@end

@interface OrderInfomationDetailDataInfoModel : NSObject

@property (nonatomic, copy) NSString *userId;
// 订单id
@property (nonatomic, copy) NSString *orderId;
// 店铺名称
@property (nonatomic, copy) NSString *shopName;

@property (nonatomic, copy) NSArray *orderGoods;
// 1:买家2:自由经理人
@property (nonatomic, assign) NSInteger type;
// 服务的买家唯一标识（type=2）
@property (nonatomic, assign) NSInteger offlineBuyerId;
// 订单状态：1：确认中(卖家：待您确认，买家/自由经理人：卖家确认中)2：待支付；3：线下支付待确认；4：待商家发货；5：待收货；6：交易完成；18：支付超时；19：订单取消 ',
@property (nonatomic, assign) NSInteger orderStatus;
@property (nonatomic, copy) NSString *createTime;
// 提货单 收获方式：1：卖家承运；2：到仓自提',
@property (nonatomic, assign) NSInteger receivingGoodsType;

@end


@interface OrderInfomationDetailDataInfoOrderGoodsModel : NSObject
// 买家修改后的价格
@property (nonatomic, strong) NSDecimalNumber *modifyPrice;
@property (nonatomic, copy) NSString *orderId;

@property (nonatomic, copy) NSString *goodsId;
// 材质
@property (nonatomic, copy) NSString *productMaterial;
@property (nonatomic, strong) NSDecimalNumber *price;
// 数量
@property (nonatomic, assign) NSInteger goodsNum;
// 规格
@property (nonatomic, copy) NSString *specifications;
// 件重
@property (nonatomic, copy) NSString *weightCounting;
@property (nonatomic, copy) NSString *contactPhone;
// 钢厂
@property (nonatomic, copy) NSString *factoryName;

@end
